package com.ocom.payconfig.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class MealDetailVo implements Serializable {
    private Integer id;

    @JsonProperty("com_id")
    private Integer comId;

    @JsonProperty("meal_no")
    private String mealNo;

    @JsonProperty("meal_name")
    private String mealName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08")
    @JsonProperty("create_time")
    private Date createTime;

    @JsonProperty("acc_type_id")
    private Integer accTypeId;

    @JsonProperty("point_id")
    private Integer pointId;


    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08")
    @JsonProperty("begin_time")
    private String beginTime;

    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+08")
    @JsonProperty("end_time")
    private String endTime;

    private int allowDays;

    private int beforeHour;

    private int allowMinute;

    //是否跨天，0：当天，1：跨天
    @JsonProperty("if_days")
    private int ifDays;
}
